/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 通行记录表 实体类
 *
 * @author BladeX
 * @since 2023-07-18
 */
@Data
@TableName("oa_general_record")
@ApiModel(value = "GeneralRecord对象", description = "通行记录表")
@EqualsAndHashCode(callSuper = true)
public class GeneralRecordEntity extends TenantEntity {

	/**
	 * 闸机名称
	 */
	@ApiModelProperty(value = "闸机名称，原字段：deviceName")
	private String gateName;
	/**
	 * 闸机编号
	 */
	@ApiModelProperty(value = "闸机编号，原字段：deviceNo")
	private String gateRef;
	/**
	 * 门禁名称
	 */
	@ApiModelProperty(value = "门禁名称，原字段：pointName")
	private String positionName;
	/**
	 * 过闸方式1正常2离线
	 */
	@ApiModelProperty(value = "过闸方式1正常2离线，原字段：recordType")
	private Integer generalType;
	/**
	 * 过闸凭证
	 */
	@ApiModelProperty(value = "过闸凭证，原字段：recordTicket")
	private String generalProof;
	/**
	 * 用户姓名
	 */
	@ApiModelProperty(value = "用户姓名，原字段：ticketName")
	private String viewerName;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID，原字段：ticketId")
	private Long viewerId;
	/**
	 * 用户分类名称
	 */
	@ApiModelProperty(value = "用户分类名称，原字段：ticketTypeName")
	private String viewerTypeName;
	/**
	 * 展会名称
	 */
	@ApiModelProperty(value = "展会名称，原字段：exhibitionName")
	private String exhibitionName;
	/**
	 * 通行时间
	 */
	@ApiModelProperty(value = "通行时间，原字段：recordTime")
	private Date passTime;
	/**
	 * 通行照片
	 */
	@ApiModelProperty(value = "通行照片，原字段：recordPhoto")
	private String passPhoto;
	/**
	 * 数据来源
	 */
	@ApiModelProperty(value = "数据来源，原字段：sourceFrom")
	private String sourceFrom;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 展会ID
	 */
	@ApiModelProperty(value = "展会ID，原字段：exhibitionId")
	private Long exhibitionId;
	/**
	 * 门禁点ID
	 */
	@ApiModelProperty(value = "门禁点ID，原字段：pointId")
	private Long positionId;
	/**
	 * 门禁组ID
	 */
	@ApiModelProperty(value = "门禁组ID，原字段：pointGroupId")
	private Long positionGroupId;
	/**
	 * 门禁组名称
	 */
	@ApiModelProperty(value = "门禁组名称，原字段：groupName")
	private String groupName;
	/**
	 * 场馆名称
	 */
	@ApiModelProperty(value = "场馆名称，原字段：venueName")
	private String venueName;
	/**
	 * 场馆ID
	 */
	@ApiModelProperty(value = "场馆ID，原字段：venueId")
	private Long venueId;
	/**
	 * 设备ID
	 */
	@ApiModelProperty(value = "设备ID，原字段：deviceId")
	private Long gateId;
	/**
	 * 票证类型ID
	 */
	@ApiModelProperty(value = "票证类型ID，原字段：ticketTypeId")
	private Long viewerTypeId;
	/**
	 * 鉴权key
	 */
	@ApiModelProperty(value = "鉴权key，原字段：oauthKey")
	private String oauthKey;

}
